This is in a paragraph tag. The "p" tag adds magins automatically, but you can modify these margins using the CSS magin property.
The CSS magin property is used to create space around an element
This is shorthand for the the following properties:
-margin-top
-margin-bottom
-margin-left
-margin-right
You can use all of these at once.
And the HTML i wrote for it was:
Spaces between the opening "p" tag and its contents are ignored by the browser. In order to set an indent, use the CSS text indent, which I will demonstrate in the next paragraph. The direciton of the text indent is specified by the direction property.
This paragraph has a 50 px indent.
To indent that paragraph, I inclosed it in a "div" tag. In the CSS I wrote:
To have each paragraph contain a differnt indentation, you must give each paragraph a diffcernt "div" tag and each "div" tag a different letter.
For example the CSS would be:
And the the matching HTML would be:
Here is a paragraph with a 25px indent rather then the 50 the first example had.